combination of mod and row formula

welcome to shbcf.ru